/**
 * Copyright  2015  Pemass
 * All Right Reserved.
 */

package com.zx.config.exception;


import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

/**
 * @Description: SysError
 * @Author: zhou hang
 * @CreateTime: 2015-07-20 10:11
 */
public enum BizError implements MallError {

    ORDER_ERROR("1001", "创建订单失败"),
    ORDER_DETAILS_ERROR("1003","创建订单详情异常"),
    ORDER_ADDRESS_ERROR("1005","创建订单地址异常"),
    ORDER_JOURNAL_ERROR("1002","创建订单日子异常"),
    ORDER_STATE_ERROR("1006","修改订单状态异常");

    String errorCode;
    String errorMessage;

    BizError(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }


    public String getErrorCode() {
        return errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}
